<#include "/inc/macro.ftl"/>
<#assign freeMarkerMethod = "com.auto.code.util.FreeMarkerMethod"?new()/>
<table class="table table-striped table-hover table-bordered text-center">
    <thead>
    <tr>
        <th width="4%">
            <input type="checkbox" class="select-all-js" id="all">
        </th>
        <th width="20%">分类名称</th>
        <th width="66%">分类描述</th>
        <th width="10%">操作</th>
    </tr>
    </thead>
    <tbody>
  	<#if pageInfo?? && pageInfo.list?? && pageInfo.list?size gt 0>
        <#list pageInfo.list as item>
    <tr id="${item.id!''}">
        <td>
            <input type="checkbox" class="select-single-js" id="${item.id!''}">
        </td>
        <td>${item.name!''}</td>
        <td>${item.desc!''}</td>
        <td><a href="/auto/code/group/modify?id=${item.id!''}">修改</a></td>
    </tr>
        </#list>
    <#else>
      <tr><td colspan="4">暂无数据。</td><tr>
    </#if>
    </tbody>
</table>
<#if pageInfo??>
    <@pageNation data = pageInfo />
</#if>
